import 'package:event_bus/event_bus.dart';
import 'package:pornhub_app/model/arround/query_model.dart';
import 'package:pornhub_app/utils/enum.dart';

EventBus eventBus = EventBus();

class QueryEvent {
  QueryModel queryModel;
  QueryEvent(this.queryModel);
}

class LocationEvent {
  int loadType;
  String provinces;
  String cityName;
  LocationEvent(this.loadType, this.provinces, this.cityName);
}

class ClearLocationEvent {
  int loadType;
  String cityName;
  ClearLocationEvent(this.loadType, this.cityName);
}

class BloggerRefreshEvent {
  String tabName;
  BloggerRefreshEvent(this.tabName);
}

class VideoLayoutEvent {
  VideoLayout layout;
  VideoLayoutEvent(this.layout);
}
